package com.flying.invest.discovery.model;

import com.flying.common.util.Codes;
import com.flying.framework.annotation.Param;
import com.flying.framework.data.Data;
import com.flying.framework.data.DataSerializable;
import com.flying.framework.metadata.Meta;

@SuppressWarnings("serial")
@Meta(id="i_discovery_type",title="投资发现类型", table="i_discovery_type", primaryKeys={"type_id"})
public class DiscoveryType extends Data implements DataSerializable {
	public final static String ENTITY_NAME = "i_discovery_type";
	
	public final static String TYPE_ID = "type_id";
	public final static String CODE = "code";
	public final static String NAME = "name";
	public final static String REMARKS = "remarks";
	public final static String SERVICE_ID = "service_id";
	
	
	@Param(value=TYPE_ID, required=true, desc="类型ID" , generator=Codes.AUTO_INCREMENT)
	private Long typeId;
	
	@Param(value=CODE, required=false, maxlength=10, desc="代码" )
	private String code;
	
	@Param(value=NAME, required=false, maxlength=50, desc="名称" )
	private String name;
	
	@Param(value=REMARKS, required=false, maxlength=400, desc="说明" )
	private String remarks;
	
	@Param(value=SERVICE_ID, required=false, maxlength=50, desc="服务" )
	private String serviceId;
	
	
	public Long getTypeId() {
		return this.typeId;
	}
	
	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}
	
	public String getCode() {
		return this.code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getName() {
		return this.name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getRemarks() {
		return this.remarks;
	}
	
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	public String getServiceId() {
		return this.serviceId;
	}
	
	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}
	

}